<?php

class StaticPageController extends My_Controller_Action {

    public function showAction() {
        $code = $this->_getParam('id');
        $daoStaticPage = new Application_Model_DAO_StaticPage();
        $record = $daoStaticPage->getStaticPageByColumn($code, 'code');
        $this->setContentTitle($record['title'], false);
        $this->view->record = $record;
    }

}

